import Vue from 'vue'
import {
    Button,
    ButtonGroup,
    Tooltip,
    Collapse,
    CollapseItem,
    Form,
    FormItem,
    Input,
    Select,
    Option,
    OptionGroup,
    Divider,
    Table,
    TableColumn,
    Dialog,
    Checkbox,
    RadioGroup,
    Radio,
    Row,
    Switch,
    Drawer,
    Loading,
    Message,
    Notification
} from "element-ui"
Vue.use(Button)
Vue.use(ButtonGroup)
Vue.use(Tooltip)
Vue.use(Collapse)
Vue.use(CollapseItem)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Input)
Vue.use(Select)
Vue.use(Option)
Vue.use(OptionGroup)
Vue.use(Divider)
Vue.use(Table)
Vue.use(Dialog)
Vue.use(TableColumn)
Vue.use(Checkbox)
Vue.use(RadioGroup)
Vue.use(Radio)
Vue.use(Row)
Vue.use(Switch)
Vue.use(Drawer)
Vue.use(Loading.directive);

Vue.prototype.$loading = Loading.service;
Vue.prototype.$notify = Notification;
Vue.prototype.$message = Message;